{% extends "base.html" %}
{% block title %}
Add New Event
{% endblock %}

{% block content %}
<script language="javascript" type="text/javascript" src="/static/datetime/datetimepicker.js"></script>
<form action="/add" method="post">
  <table>
    <tr><td>Event Name:<td><input name="name"></tr>
    <tr><td>Tagline:<td><input name="tagline"></tr>
    <tr><td>Description:<td><textarea name="description"></textarea></tr>
    <tr><td>URL:<td>/event/<input name="url"></tr>
	<tr><td>Start Time:<td><input name='starttime' id='starttime'><a href="javascript:NewCal('starttime','ddmmyyyy',true,24)"><img src="/static/datetime/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a></tr>
	<tr><td>Finish Time:<td><input name='endtime' id='endtime'><a href="javascript:NewCal('endtime','ddmmyyyy',true,24)"><img src="/static/datetime/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a></tr>
    <tr><td>Random Number:<td><input name="rand" value=0></tr>
  </table>
  <input type="submit" value="Stubmit">
</form>
{% endblock %}


